cmake_minimum_required(VERSION 2.8.12)
project(Example)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
set(EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_SOURCE_DIR}/build/bin)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include)
aux_source_directory(${CMAKE_CURRENT_SOURCE_DIR}/src src_path)
add_executable(${PROJECT_NAME} ${src_path})
  
if(NOT WIN32)
    target_link_libraries(${PROJECT_NAME} pthread)
endif()
